package com.cgt.xiaotao.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 用户服务启动类
 */
@SpringBootApplication
@MapperScan("com.cgt.xiaotao.user.mapper")
@ComponentScan(basePackages = {"com.cgt"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.cgt")
public class ServiceUserApplication {
    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(ServiceUserApplication.class, args);
    }
}
